package com.zlm.common.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: duyufu
 * @Date: 2019/5/16 14:41
 */
public class SysTimeSectionDO implements Serializable {
    private static final long serialVersionUID = 7144970771340177649L;

    private Integer tid;

    private Integer resumeId;

    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date startDate;

    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date endDate;

    private Integer identitys;

    private Integer alive;

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public Integer getResumeId() {
        return resumeId;
    }

    public void setResumeId(Integer resumeId) {
        this.resumeId = resumeId;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Integer getIdentitys() {
        return identitys;
    }

    public void setIdentitys(Integer identitys) {
        this.identitys = identitys;
    }

    public Integer getAlive() {
        return alive;
    }

    public void setAlive(Integer alive) {
        this.alive = alive;
    }

    @Override
    public String toString() {
        return "SysTimeSectionDO{" +
                "tid=" + tid +
                ", resumeId=" + resumeId +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", identitys=" + identitys +
                ", alive=" + alive +
                '}';
    }
}
